package com.jiang.smartcommunity.ui.activity;

import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import com.jiang.smartcommunity.R;
import com.jiang.smartcommunity.tool.Tool;

public class ADActivity extends BaseActivity {
    private TextView textView8;
    private ImageView imageView5;
    private CardView cardView2;
    private TextView tv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_a_d);
        initView();
        setTitle("广告活动文章");
        textView8.setText(Tool.serBean.s);
        imageView5.setImageResource(Tool.serBean.res);
    }

    private void initView() {
        textView8 = (TextView) findViewById(R.id.textView8);
        imageView5 = (ImageView) findViewById(R.id.imageView5);
        cardView2 = (CardView) findViewById(R.id.cardView2);
        tv = (TextView) findViewById(R.id.tv);
    }
}